<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-tab layui-tab-brief" th:fragment="tab">
    <ul class="layui-tab-title">
        <li th:class="${flag == 1 ? 'layui-this' : ''}" th:if="${#authPermit.checkPermit('/product/addEditView.action')}"><a
                th:href="|/product/addEditView.action?productId=${servProductVO.productId==null?0:servProductVO.productId}|"
                lay-text="产品信息">产品信息</a></li>
        <li th:class="${flag == 2 ? 'layui-this' : ''}"
            th:if="${servProductVO.productId > 0 && #authPermit.checkPermit('/product/editDescView.action')}"><a
                th:href="|/product/editDescView.action?productId=${servProductVO.productId}|" lay-text="产品描述">产品描述</a></li>
        <li th:class="${flag == 3 ? 'layui-this' : ''}"
            th:if="${servProductVO.productId > 0 && #authPermit.checkPermit('/product/picture/detail.action')}"><a
                th:href="|/product/picture/detail.action?productId=${servProductVO.productId}|" lay-text="产品图片">产品图片</a></li>
        <!--<li th:class="${flag == 4 ? 'layui-this' : ''}"-->
            <!--th:if="${servProductVO.productId > 0 && #authPermit.checkPermit('/product/service_item/product/group/item.action')}"><a-->
                <!--th:href="|/product/service_item/product/group/item.action?productId=${servProductVO.productId}"-->
                <!--lay-text="服务项目">服务项目</a></li>-->
        <li th:class="${flag == 5 ? 'layui-this' : ''}"
            th:if="${servProductVO.productId > 0 && #authPermit.checkPermit('/product/price/listProductPrice.action')}"><a
                th:href="|/product/price/listProductPrice.action?itemType=2&productId=${servProductVO.productId}|"
                lay-text="价格表">价格表</a></li>
        <!--<li th:class="${flag == 6 ? 'layui-this' : ''}"-->
            <!--th:if="${servProductVO.productId > 0 && #authPermit.checkPermit('/product/tariff/group/listOutTable.action')}"><a-->
                <!--th:href="|/product/tariff/group/listOutTable.action?keepType=1&productId=${servProductVO.productId}&productName=${servProductVO.name}|"-->
                <!--lay-text="保外故障价格">保外故障价格</a></li>-->
        <!--<li th:class="${flag == 7 ? 'layui-this' : ''}"-->
            <!--th:if="${servProductVO.productId > 0 && #authPermit.checkPermit('/product/tariff/group/listInTable.action')}"><a-->
                <!--th:href="|/product/tariff/group/listInTable.action?keepType=2&productId=${servProductVO.productId}&productName=${servProductVO.name}|"-->
                <!--lay-text="保内故障价格">保内故障价格</a></li>-->
    </ul>
</div>

</html>